<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<?php
/**
 * Include the partial template that holds doctype, html, head with metas and such.
 */
$this->view('shared/head');
?>
<?php
/**
 * Include the partial template that holds avatar and navigation.
 */
$this->view('shared/avatar');
?>
<?php
/**
 * Include the partial template that holds the toolbar.
 */
$this->view('shared/toolbar');
?>
<form
	id="search"
	action="{language}/editor/find/"
	method="post"
	accept-charset="utf-8"
	autocomplete="off"
	title="<?php echo __('search_title'); ?>">
	<fieldset>
		<legend><?php echo __('search_legend'); ?></legend>
		<label
			for="q">
		<?php echo __('search_label'),"\n"; ?>
		</label>
		<input
			id="q"
			type="search"
			name="q"
			value="<?php echo ($q) ? htmlspecialchars($q) : ''; ?>"
			size="66"
			maxlength="255"
			placeholder="<?php echo __('q_placeholder'); ?>"
			accesskey="g"
			autofocus="autofocus"
		/>
	</fieldset>
	<fieldset>
		<legend><?php echo __('buttons'); ?></legend>
		<input
			type="submit"
			name="submit"
			value="<?php echo __('search_submit'); ?>"
		/>
	</fieldset>
</form>
<?php
/**
 * Include the partial shortinfos, listing all records in find set.
 */
$this->view('shared/editor/shortinfos');
?>
<?php
/**
 * Include the partial template that closes all tags opened in @see views/shared/head.
 */
$this->view('shared/foot');
?>